package api

import (
	auto "beergo/app/check/auto/controller"
	"beergo/app/check/conf"
	"github.com/beego/beego/v2/server/web"
)

type IncomeAdminController struct {
	auto.IncomeController
}

func init() {
	web.Router(conf.UrlPrefix + "/Income/:id", 		&IncomeAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefix + "/Income/info", 		&IncomeAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefix + "/Income/scan", 		&IncomeAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefix + "/Income/list", 	    &IncomeAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefix + "/Income/update", 	&IncomeAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefix + "/Income/create", 	&IncomeAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefix + "/Income/copy", 	    &IncomeAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefix + "/Income/edit", 	    &IncomeAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefix + "/Income/delete", 	&IncomeAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefix + "/Income/:id/:field", &IncomeAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefix + "/Income/choice", &IncomeAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefix + "/Income/category", &IncomeAdminController{}, "*:CategoryAction")
}
//func (this *IncomeAdminController) Prepare() {}
//func (this *IncomeAdminController) ListAction() {}
//func (this *IncomeAdminController) GetAction() {}
//func (this *IncomeAdminController) InfoAction() {}
//func (this *IncomeAdminController) ScanAction() {}
//func (this *IncomeAdminController) CreateAction() {}
//func (this *IncomeAdminController) UpdateAction() {}
//func (this *IncomeAdminController) CopyAction() {}
//func (this *IncomeAdminController) DeleteAction() {}
//func (this *IncomeAdminController) EditAction() {}
//func (this *IncomeAdminController) SonsAction() {}
//func (this *IncomeAdminController) ChoiceAction() {}
//func (this *IncomeAdminController) CategoryAction() {}
